<!DOCTYPE html> 
<html style="width:100%; height:100%; overflow:hidden;"><head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <title>Component</title>
        <meta name="description" content="">
        <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1">
        <link rel="stylesheet" href="//at.alicdn.com/t/font_rt3jz89xz429be29.css">
        <link rel="stylesheet" href="../../themes/default/nex.css">
        <link rel="stylesheet" href="../../themes/default/form/form.css?ad=f">
        <link rel="stylesheet" href="../asset/css/style.css">
        <link rel="stylesheet" href="../../themes/default/scroller/Scroller.css">
        <script src="../../boot.js"></script>
        <script src="../asset/js/jquery.min.js"></script>
        <style type="text/css">
		.nex-form-type-listbox {
			box-shadow: 1px 1px 3px #d1d1d1;	
			
		}
		</style>
    </head>
    <body style="width:100%; height:100%; padding:50px; margin:0; overflow:hidden;">
    <select id="sel">
    	<option selected>...请选择...</option>
        <option>1a</option>
        <option>1b</option>
        <option>1c</option>
        <option>1d</option>
        <option>1e</option>
        <option>1f</option>
        <option>1</option>
        <option>1</option>
        <option>1</option>
        <option>1</option>
        <option>1</option>
        <option>1</option>
        <option>1</option>
        <option>1</option>
        <option>1</option>
        <option>1</option>
        <option>1</option>
        <option>1</option>
    </select>
    <input type="text" />
    <style type="text/css">
	.db {
		border:none;
		background-color:transparent;
		color: #000;	
	}
	input.disabled{
border:0px solid #DDD;
background-color:#F5F5F5;
color:red;
min-height:14px;
}
	</style>
    
     <script type="text/javascript">
	 require.config({
		urlArgs : 't='+(+new Date())	 
	 });
	 $(function(){
		 require([
		 	'Nex/form/Spinner',
		], function(Spinner){ 
			
			var i = 1;
			
			text = Spinner.create({
				renderTo: document.body	 	,
				labelText : '请选择：',
				autoFocus : true,
				value : 1,
				rules : [/^$|\d+/],
				upHandler : function(){
					i += .1;
					this.val(i);	
				},
				downHandler : function(){
					i -= .1;
					this.val(i);		
				},
				width : 200	
			});
			
			
		 });	 
	 });
	 </script>
    </body>
</html>
